import { defineConfig } from 'vite'
// 需要安装 @types/node
import { resolve } from 'path'
import uni from '@dcloudio/vite-plugin-uni'
// import vueJsx from '@vitejs/plugin-vue-jsx'
// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    uni(),
    // vueJsx({
    //   // options are passed on to @vue/babel-plugin-jsx
    // }),
  ],
  resolve: {
    alias: [
      {
        find: '@',
        replacement: resolve(__dirname, 'src'),
      },
    ],
  },
})
